package cn.jingyuan.swan.kernel.web.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
public class IndexController {

    @GetMapping(path = "/")
    public Object index() {
        Map<String, Object> map = new HashMap<>();
        map.put("service", "swan-kernel-service");

        return map;
    }

}
